(function(){
(function(window, doc, $){
"use strict";
var rgb=getComputedStyle(document.querySelector(".brand-colors"))["color"].match(/\d+/g);
var r=parseInt(rgb[0]).toString(16); r=(r.length===1) ? "0" + r:r;
var g=parseInt(rgb[1]).toString(16); g=(g.length===1) ? "0" + g:g;
var b=parseInt(rgb[2]).toString(16); b=(b.length===1) ? "0" + b:b;
themeConfig["GENERAL"]=themeConfig["GENERAL"]||{}
themeConfig["GENERAL"].brandPrimary='#' + r + g + b;
var headerBgColor=getComputedStyle(document.querySelector(".header"))["background-color"];
if(headerBgColor.toLowerCase()==="transparent"){
themeConfig["GENERAL"].headerBgColor='transparent';
}else{
rgb=headerBgColor.match(/\d+/g);
r=parseInt(rgb[0]).toString(16); r=(r.length===1) ? "0" + r:r;
g=parseInt(rgb[1]).toString(16); g=(g.length===1) ? "0" + g:g;
b=parseInt(rgb[2]).toString(16); b=(b.length===1) ? "0" + b:b;
themeConfig["GENERAL"].headerBgColor='#' + r + g + b;
}
window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame||window.oRequestAnimationFrame ||
window.msRequestAnimationFrame||function (cb){window.setTimeout(cb,1000/60);};
var _p=_p||{};
_p.extend=function(target, source){
var merged=Object.create(target);
Object.keys(source).map(function (prop){ prop in merged&&(merged[prop]=source[prop]); });
return merged;
};
_p.slice=function(){
return [].slice.call.apply([].slice, arguments);
}
_p.checkBool=function(val){
return ({1:1,true:1,on:1,yes:1}[(((typeof val!=="number")?val:(val>0))+"").toLowerCase()])?true:false;
};
_p.debugLog=function(){
themeConfig&&themeConfig.debug&&console.log.apply(console, arguments);
}
_p.isIE=function(){
var myNav=navigator.userAgent.toLowerCase();
return (myNav.indexOf('msie')!=-1) ? parseInt(myNav.split('msie')[1]):false;
}
_p.SVGMold=function(type, options){
var molding=doc.createElementNS('http://www.w3.org/2000/svg', type);
for (var key in options) options.hasOwnProperty(key)&&molding.setAttribute(key, options[key]);
return molding;
}
_p.PubSub={};
(function(q){
var topics={}, subUid=-1;
q.subscribe=function(topic, func){
if(!topics[topic]){
topics[topic]=[];
}
var token=(++subUid).toString();
topics[topic].push({
token: token,
func: func
});
return token;
};
q.publish=function(topic, args){
if(!topics[topic]){
return false;
}
setTimeout(function(){
var subscribers=topics[topic],
len=subscribers ? subscribers.length:0;
while (len--){
subscribers[len].func(topic, args);
}}, 0);
return true;
};
q.unsubscribe=function(token){
for (var m in topics){
if(topics[m]){
for (var i=0, j=topics[m].length; i < j; i++){
if(topics[m][i].token===token){
topics[m].splice(i, 1);
return token;
}}
}}
return false;
};}(_p.PubSub));
$(window).bind('hashchange', function(e){
console.log(parseInt(window.location.hash.replace("#", "")));
});
$.extend($.easing, { easeOutQuart: function (x, t, b, c, d){ return -c * ((t=t/d-1)*t*t*t - 1) + b; }, });
_p.scrollOnClick=function(e){
var HeaderHeight=$('.header').outerHeight();
_p.debugLog("Scrolled...");
e.preventDefault();
var hash=this.hash;
var hashElement=$(this.hash);
var $menu_el=$(this);
$menu_el.parent().siblings().removeClass('active');
$menu_el.parent().addClass('active');
if(hashElement.length > 0){
$('html, body').animate({ scrollTop: Math.round(hashElement.offset().top) - HeaderHeight }, themeConfig["GENERAL"]["onePagerScrollSpeed"],'easeOutQuart',
function(){
if(history.pushState) history.pushState(null, null, hash);
});
}}
return window._p=_p;
}(window, document, jQuery));
(function($){
"use strict";
$('.lihasdropdown').on('click', '> a', function(e){
if(!$(this).next(".menu-dropdown").hasClass('show')){
e.preventDefault();
$('.lihasdropdown').not($(this).parent()).children(".menu-dropdown").removeClass("show");
$('.sublihasdropdown').children(".menu-dropdown").removeClass('show');
$(this).next(".menu-dropdown").toggleClass("show");
e.stopPropagation();
}});
$('.sublihasdropdown').on('click', '> a', function(e){
if(!$(this).next(".menu-dropdown").hasClass('show')){
e.preventDefault();
$('.sublihasdropdown').not($(this).parent()).children(".show").removeClass("show");
$(this).next(".menu-dropdown").toggleClass("show");
e.stopPropagation();
}});
$(document.body).on('click', function(){
$('.lihasdropdown').children(".menu-dropdown").removeClass('show');
$('.sublihasdropdown').children(".menu-dropdown").removeClass('show');
})
$('.mobile_collapser, span.close_menu').on('click', function(){
var window_height=$(window).height();
$('.menu_container').toggleClass('collapsed').css("height", window_height);
$('.header, .head_panel, .main, footer').toggleClass('collapsed');
});
var widthhh=0;
var $window=$(window);
$window.load(function(){ widthhh=$window.width(); });
$window.resize(function(){
if(widthhh!=$window.width()){
$('.collapsed').removeClass('collapsed');
$('.menu_container').css("height", "auto");
widthhh=$window.width();
}});
var $hoverMenu=$('.hover_menu');
var isCollapsed=function(){
return !!$('.menu_container.collapsed').length;
}
$hoverMenu.find('.lihasdropdown').on({
mouseenter: function(){
if(isCollapsed()) return;
$(this).children('ul').addClass('show wait_for_photo_load');
},
mouseleave: function(){
if(isCollapsed()) return;
$(this).children('ul.show').removeClass('show wait_for_photo_load');
}});
$hoverMenu.find('.sublihasdropdown').on({
mouseenter: function(){
if(isCollapsed()) return;
$(this).children('ul').addClass('show');
},
mouseleave: function(){
if(isCollapsed()) return;
$(this).children('ul.show').removeClass('show');
}});
}(jQuery));
(function($){
var currentLink=document.location.pathname.split("/");
currentLink=currentLink[currentLink.length-1];
var activeLink=document.querySelector(".main_menu a[href$='" + currentLink + "']");
(activeLink!==null)&&activeLink.parentElement.setAttribute("class", "active");
}(jQuery));
jQuery(function($){
"use strict";
if($('.sticky_header .header:not(".transparent")').length){
var HeaderHeight=$('.header').outerHeight();
var $body=$('body');
$body.css('margin-top', HeaderHeight);
$(window).on('resize', function(){
var HeaderHeight=$('.header').outerHeight();
$body.css('margin-top', HeaderHeight);
});
}
if($('.head_panel .hgroup').length){
var hgroupheight=$('.head_panel .hgroup').outerHeight();
$('.head_panel').children().css('height' , hgroupheight)
}
(function($){
var section_with_vertical_center_container=$('.full_height.vertical_center').children('[class^=container]');
var section_with_vertical_bottom_container=$('.full_height.vertical_bottom').children('[class^=container]');
$(window).on("load resize", function(){
var header_height=$('.header').height();
var window_height=$(window).height();
var usable_height=window_height - header_height;
if($('.header:not(".transparent")').length){
var section_with_full_height=$('.full_height');
section_with_full_height.css("min-height", usable_height);
}
if($('.header.transparent').length){
var section_with_full_height=$('.full_height');
section_with_full_height.css("min-height", window_height);
}
section_with_vertical_center_container.each(function(){
var container_height=$(this).height();
var top_padding=(usable_height - container_height -55) * 0.5;
if(top_padding > 0){
$(this).css('padding-top' , top_padding);
};});
section_with_vertical_bottom_container.each(function(){
var container_height=$(this).height();
var top_padding=(usable_height - container_height -25);
if(top_padding > 0){
$(this).css('padding-top' , top_padding - header_height);
};});
_p.PubSub.publish("full-height", "finished");
});
}(jQuery));
var $elevatedCol=$('div[class *="col-"].elevate');
if($elevatedCol.length){ $elevatedCol.parent().css('padding-top' , '70px'); }
(function enable3DLinks(selector){
if(!(document.body.style['webkitPerspective']!==undefined||document.body.style['MozPerspective']!==undefined)) return;
_p.slice(document.querySelectorAll("a.roll")).forEach(function(a){
a.innerHTML='' + a.innerHTML + ' ';
});
}());
$(".mainbar .social_links").on("click", function(e){
e.preventDefault();
$(".mainbar .team_social").toggleClass("showLinks");
});
$(".main").on("click", function(){ $(".mainbar .team_social").removeClass("showLinks"); });
(function($){
var $links_with_id=$(".mainbar .main_menu, .topbar .top_menu, .editorcontentnav_menu, .main")
.find('a[href*="#"], button[href*="#"]')
.not('[data-vc-tabs], [data-vc-accordion], [data-slide]')
.filter(function(idx,el){ return $(el).parents(".product").length < 1; });
$.each($links_with_id, function(i, link_with_id){
var $link_with_id=$(link_with_id);
var link_id=$link_with_id.attr('href').split('#')[1];
if(link_id!='undefined'&&link_id!=''){
var $found_id_sections=$('#'+ link_id);
if($found_id_sections.length > 0){
if(window.location.hash!='#' + link_id){
$link_with_id.parent().removeClass('active');
}
$link_with_id.add("a.scrollify").on('click', _p.scrollOnClick);
}}
});
})(jQuery);
(function($){
var preInit=function(){
if(typeof particlesInit=="undefined") return;
var enableAnim=false;
var particles_options={
light_section:{
group: true,
canvas:{
bgc: themeConfig["PARTICLES"].bgColor
},
particles: {
opacity: themeConfig["PARTICLES"].opacity,
color: themeConfig["PARTICLES"].color,
nb: 100,
line_linked: {
color: themeConfig["PARTICLES"].color,
opacity: themeConfig["PARTICLES"].opacity,
condensed_mode: {
enable: false,
rotateX: 600,
rotateY: 600
}},
anim: { enable: enableAnim, speed: 2 }},
interactivity: { enable: false },
retina_detect: true
},
dark_section:{
group: true,
particles: {
opacity: themeConfig["PARTICLES"].opacity,
color: themeConfig["GENERAL"].brandPrimary||themeConfig["GENERAL"].brandPrimary,
nb: 100,
line_linked: {
opacity: themeConfig["PARTICLES"].opacity,
color: themeConfig["GENERAL"].brandPrimary||themeConfig["GENERAL"].brandPrimary,
},
anim: { enable: enableAnim, speed: 2 }},
interactivity: { enable: false },
retina_detect: true
},
skincolored_section:{
group: true,
particles: {
opacity: themeConfig["PARTICLES"].opacity,
color: themeConfig["GENERAL"].brandSecondary,
nb: 100,
line_linked: {
opacity: themeConfig["PARTICLES"].opacity,
color: themeConfig["GENERAL"].brandSecondary,
},
anim: { enable: enableAnim, speed: 2 }},
interactivity: { enable: false },
retina_detect: true
},
secondary_section:{
group: true,
particles: {
opacity: themeConfig["PARTICLES"].opacity,
color: '#eeeeee',
nb: 100,
line_linked: {
opacity: themeConfig["PARTICLES"].opacity,
color: '#eeeeee',
},
anim: { enable: enableAnim, speed: 2 }},
interactivity: { enable: false },
retina_detect: true
}}
particlesInit(particles_options);
}
if($(".full_height").length > 0){
_p.PubSub.subscribe("full-height", function(topic, data){ preInit(); });
}else{
preInit();
}})(jQuery);
(function($){
var captions=document.querySelectorAll(".double_helix .portfolio_description, .double_helix .overlay");
if($.fn.DoubleHelix&&captions.length > 0){
var canvas=document.createElement("canvas");
canvas.setAttribute("width", 100);
canvas.style.position="absolute";
canvas.style.top=0;
canvas.style.left="30px";
canvas.style.opacity=0.8;
_p.slice(captions).forEach(function(c,i){
var _canvas=canvas.cloneNode(true)
_canvas.setAttribute("height", c.offsetHeight);
c.appendChild(_canvas);
$(_canvas).DoubleHelix();
});
}})(jQuery);
(function($){
$('.parallax-window').each(function(){
var bg_image=$(this).css("background-image").replace('url(','').replace(')','').replace(/\"/g, '').replace(/\'/g, '');
$(this).addClass("transparent").css("background-image","none").attr("data-parallax", "scroll").attr("data-image-src", bg_image).attr("data-position", "center top");
});
}(jQuery));
(function($){
var $separator_top=$(".separator_top");
var $separator_bottom=$(".separator_bottom");
if($separator_top.length){
$separator_top.each(function(){
$(this).prepend("
");
});
}
if($separator_bottom.length){
$separator_bottom.each(function(){
$(this).append("
");
});
}}(jQuery));
});
jQuery(window).load(function(a,b,c){
"use strict";
var $=jQuery.noConflict();
(function($){
var $folded_section=$(".folded_section");
var $folded_section_row=$(".folded_section .row");
var $folded_section_inner_row=$(".folded_section.vc_inner");
var $folded_section_col=$(".folded_section .wpb_column");
var $folded_section_col_even=$folded_section_col.filter(":even");
var $folded_section_col_odd=$folded_section_col.filter(":odd");
if($folded_section.length){
$folded_section.each(function(){
$(this).addClass("separator_top separator_bottom");
});
$folded_section_col.each(function(){
$(this).prepend("
");
$(this).append("
");
var $thebgcolor=$(this).css("background-color");
var $thewidth=$(this).outerWidth() - 4;
$(this).css("border-color", $thebgcolor);
$(this).children('.separator_top').css("border-left-width", $thewidth);
$(this).children('.separator_bottom').css("border-left-width", $thewidth);
});
$folded_section_row.each(function(){
var $folded_section_col_last=$(this).children('.wpb_column').filter(":last");
var $thewidth=$folded_section_col_last.width() - 4;
$folded_section_col_last.children('.separator_top').css("border-left-width", $thewidth);
$folded_section_col_last.children('.separator_bottom').css("border-left-width", $thewidth);
});
$folded_section_inner_row.each(function(){
var $folded_section_col_last=$(this).children('.wpb_column').filter(":last");
var $thewidth=$folded_section_col_last.width() - 4;
$folded_section_col_last.children('.separator_top').css("border-left-width", $thewidth);
$folded_section_col_last.children('.separator_bottom').css("border-left-width", $thewidth);
});
$folded_section_col_even.each(function(){
$(this).addClass("sep_triangular_downhill_top");
$(this).addClass("sep_triangular_downhill_bottom");
});
$folded_section_col_odd.each(function(){
$(this).addClass("sep_triangular_uphill_top");
$(this).addClass("sep_triangular_uphill_bottom");
});
$(window).on("resize", function(){
$folded_section_col.each(function(){
var $thewidth=$(this).outerWidth() -4;
$(this).children('.separator_top').css("border-left-width", $thewidth);
$(this).children('.separator_bottom').css("border-left-width", $thewidth);
});
$folded_section_row.each(function(){
var $folded_section_col_last=$(this).children('.wpb_column').filter(":last");
var $thewidth=$folded_section_col_last.width() - 4;
$folded_section_col_last.children('.separator_top').css("border-left-width", $thewidth);
$folded_section_col_last.children('.separator_bottom').css("border-left-width", $thewidth);
});
$folded_section_inner_row.each(function(){
var $folded_section_col_last=$(this).children('.wpb_column').filter(":last");
var $thewidth=$folded_section_col_last.width() - 4;
$folded_section_col_last.children('.separator_top').css("border-left-width", $thewidth);
$folded_section_col_last.children('.separator_bottom').css("border-left-width", $thewidth);
});
});
}}(jQuery));
var sameHeightCols=$(".same_height_col");
sameHeightCols.conformity();
$(window).on("resize", function(){ sameHeightCols.conformity(); });
(function($){
var $container=$('#cont_medicus');
if($.fn.isotope&&$container.length){
$container.isotope({});
$('#filt_medicus a[data-filter="*"]').addClass('active');
var $filterAnchor=$('#filt_medicus a');
$filterAnchor.click(function(){
$filterAnchor.removeClass('active');
$(this).addClass('active');
var selector=$(this).attr('data-filter');
$container.isotope({ filter: selector });
return false;
});
$(window).resize(function(){ $container.isotope({});});
}})(jQuery);
(function($){
var $container=$('.masonry > .row');
if($.fn.isotope&&$container.length){
$container.isotope({});
$(window).resize(function(){ $container.isotope({});});
}})(jQuery);
(function($){
if($('.no-touch').length){
var wow=new WOW({
animateClass:'animated',
offset:100
});
wow.init();
}})(jQuery);
(function($){
$(window).scroll(function (){
if($(this).scrollTop() > 300){
$('.sticky_header:not(.sticky_topbar) .topbar').addClass("hidden");
$('.sticky_header .header.transparent').removeClass("transparent").addClass("was_transparent");
}else{
$('.sticky_header .topbar').removeClass("hidden");
$('.sticky_header .header.was_transparent').removeClass("was_transparent").addClass("transparent");
}});
var window_top=$(window).scrollTop();
if(window_top > 300){
$('.sticky_header:not(.sticky_topbar) .topbar').addClass("hidden");
$('.sticky_header .header.transparent').removeClass("transparent").addClass("was_transparent");
}else{
$('.sticky_header .topbar').removeClass("hidden");
$('.sticky_header .header.was_transparent').removeClass("was_transparent").addClass("transparent");
}}(jQuery));
(function($){
var activityIndicatorOn=function(){ $('
').appendTo('body'); };
var activityIndicatorOff=function(){ $('#imagelightbox-loading').remove(); };
var overlayOn=function(){ $('
').appendTo('body'); };
var overlayOff=function(){ $('#imagelightbox-overlay').remove(); };
var closeButtonOn=function(instance){ $('
Close ').appendTo('body').on('click', function(){ $(this).remove(); instance.quitImageLightbox(); return false; });};
var closeButtonOff=function(){ $('#imagelightbox-close').remove(); };
var captionOn=function(){
var description=$('a[href="' + $('#imagelightbox').attr('src') + '"] img').attr('alt')||"";
if(description.length > 0) $('
' + description + '
').appendTo('body');
};
var captionOnSingle=function(){
var description=$('a[href="' + $('#imagelightbox').attr('src') + '"]').attr('title')||"";
if(description.length > 0)
$('
' + description + '
').appendTo('body');
};
var captionOnGallery=function(){
var description=$('a[href="' + $('#imagelightbox').attr('src') + '"]')||"";
if(description.attr('data-description')!=="undefined"&&description.attr('data-description')!==""){
description=description.attr('data-description');
}else if(description.attr('datas-caption')!=="undefined"&&description.attr('datas-caption')!==""){
description=description.attr('data-caption');
}
if(description&&description.length > 0)
$('
' + description + '
').appendTo('body');
};
var captionOff=function(){ $('#imagelightbox-caption').remove(); };
var arrowsOn=function(instance, selector){
if(instance.length > 3){
var $arrows=$('
');
$arrows.appendTo('body');
$arrows.on('click touchend', function(e){
e.preventDefault();
var $this=$(this),
$target=$(selector + '[href="' + $('#imagelightbox').attr('src') + '"]'),
index=$target.index(selector);
if($this.hasClass('imagelightbox-arrow-left')){
index=index - 1;
if(!$(selector).eq(index).length) index=$(selector).length;
}else{
index=index + 1;
if(!$(selector).eq(index).length)
index=0;
}
instance.switchImageLightbox(index);
return false;
});
}};
var arrowsOff=function(){ $('.imagelightbox-arrow').remove(); };
if($().imageLightbox){
var selectorGG='a.lightbox_gallery';
var instanceGG=$('a.lightbox_gallery').imageLightbox({
onStart: function(){ arrowsOn(instanceGG, selectorGG); overlayOn(); closeButtonOn(instanceGG); },
onEnd: function(){ arrowsOff(); overlayOff(); captionOff(); closeButtonOff(); activityIndicatorOff(); },
onLoadEnd: function(){ $('.imagelightbox-arrow').css('display', 'block'); captionOnGallery(); activityIndicatorOff(); },
onLoadStart: function(){ captionOff(); activityIndicatorOn(); }});
var selectorS='a[data-imagelightbox="gallery"]';
var instanceS=$('a.lightbox_single').imageLightbox({
onStart: function(){ arrowsOn(instanceS, selectorS); overlayOn(); closeButtonOn(instanceS); },
onEnd: function(){ arrowsOff(); overlayOff(); captionOff(); closeButtonOff(); activityIndicatorOff(); },
onLoadEnd: function(){ $('.imagelightbox-arrow').css('display', 'block'); captionOnSingle(); activityIndicatorOff(); },
onLoadStart: function(){ captionOff(); activityIndicatorOn(); }});
}})(jQuery);
(function($){
$('.topbar .row > div').each(function(ind){
var $container_menu=$(this).find('.top_menu');
if($container_menu.length > 0){
if($(this).hasClass('text-left')){
$container_menu.css('float', 'left');
}else if($(this).hasClass('text-right')){
$container_menu.css('float', 'right');
}else if($(this).hasClass('text-center')){
$container_menu.css('display', 'inline-block');
}}
});
}(jQuery));
});
;
}).call(this);
!function(d,l){"use strict";var e=!1,o=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){var r,a,i,s,n,o=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),c=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]');for(r=0;r
=$tabs.tabs("length")&&(index=0),$tabs.tabs("select",index)):(index=$tabs.tabs("option","active"),length=$tabs.find(".wpb_tab").length,index=jQuery(this).parent().hasClass("wpb_next_slide")?length<=index+1?0:index+1:index-1<0?length-1:index-1,$tabs.tabs("option","active",index))})})}}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(index){var $tabs,active_tab,collapsible,$this=jQuery(this);$this.attr("data-interval"),collapsible=!1===(active_tab=!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:active_tab,collapsible:collapsible,navigation:!0,activate:vc_accordionActivate,change:function(event,ui){void 0!==jQuery.fn.isotope&&ui.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(ui.newPanel)}}),!0===$this.data("vcDisableKeydown")&&($tabs.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var layout_modes={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var $container=jQuery(this),$thumbs=$container.find(".wpb_thumbnails"),layout_mode=$thumbs.attr("data-layout-mode");$thumbs.isotope({itemSelector:".isotope-item",layoutMode:void 0===layout_modes[layout_mode]?"fitRows":layout_modes[layout_mode]}),$container.find(".categories_filter a").data("isotope",$thumbs).on("click",function(e){e&&e.preventDefault&&e.preventDefault();var $thumbs=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),$thumbs.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).bind("load resize",function(){$thumbs.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function($parent){($parent?$parent.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var $this=jQuery(this);if(!0!==$this.data("carousel_enabled")&&$this.is(":visible")){$this.data("carousel_enabled",!0);getColumnsCount(jQuery(this));jQuery(this).hasClass("columns_count_1")&&900;var carousel_li=jQuery(this).find(".wpb_thumbnails-fluid li");carousel_li.css({"margin-right":carousel_li.css("margin-left"),"margin-left":0});var fluid_ul=jQuery(this).find("ul.wpb_thumbnails-fluid");fluid_ul.width(fluid_ul.width()+300),jQuery(window).on("resize",function(){screen_size!=(screen_size=getSizeName())&&window.setTimeout(function(){location.reload()},20)})}})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(index){var $imagesGrid,this_element=jQuery(this);if(this_element.hasClass("wpb_slider_nivo")){var sliderTimeout=1e3*this_element.attr("data-interval");0===sliderTimeout&&(sliderTimeout=9999999999),this_element.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:sliderTimeout,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})}else this_element.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?$imagesGrid=this_element.find(".wpb_image_grid_ul").imagesLoaded(function(){$imagesGrid.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):this_element.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1 ')}),vc_initVideoBackgrounds(),callSkrollInit=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),$(".vc_parallax-inner").remove(),$("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),$("[data-vc-parallax]").each(function(){var skrollrSize,skrollrStart,$parallaxElement,parallaxImage,youtubeId;callSkrollInit=!0,"on"===$(this).data("vcParallaxOFade")&&$(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),skrollrSize=100*$(this).data("vcParallax"),($parallaxElement=$("
").addClass("vc_parallax-inner").appendTo($(this))).height(skrollrSize+"%"),parallaxImage=$(this).data("vcParallaxImage"),(youtubeId=vcExtractYoutubeId(parallaxImage))?insertYoutubeVideoAsBackground($parallaxElement,youtubeId):void 0!==parallaxImage&&$parallaxElement.css("background-image","url("+parallaxImage+")"),skrollrStart=-(skrollrSize-100),$parallaxElement.attr("data-bottom-top","top: "+skrollrStart+"%;").attr("data-top-bottom","top: 0%;")}),callSkrollInit&&window.skrollr&&(vcSkrollrOptions={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(vcSkrollrOptions),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(el){for(var find=!1,i=1;!1===find;){if(el.hasClass("columns_count_"+i))return find=!0,i;i++}});var screen_size=getSizeName();function getSizeName(){var screen_w=jQuery(window).width();return 1170
').find(".inner");new YT.Player($container[0],{width:"100%",height:"100%",videoId:youtubeId,playerVars:{playlist:youtubeId,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(event){event.target.mute().setLoop(!0)}}}),vcResizeVideoBackground($element),jQuery(window).bind("resize",function(){vcResizeVideoBackground($element)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function($element){var iframeW,iframeH,marginLeft,marginTop,containerW=$element.innerWidth(),containerH=$element.innerHeight();containerW/containerH<16/9?(iframeW=containerH*(16/9),iframeH=containerH,marginLeft=-Math.round((iframeW-containerW)/2)+"px",marginTop=-Math.round((iframeH-containerH)/2)+"px"):(iframeH=(iframeW=containerW)*(9/16),marginTop=-Math.round((iframeH-containerH)/2)+"px",marginLeft=-Math.round((iframeW-containerW)/2)+"px"),iframeW+="px",iframeH+="px",$element.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:marginLeft,marginTop:marginTop,width:iframeW,height:iframeH})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(url){if(void 0===url)return!1;var id=url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==id&&id[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var $=window.jQuery,$wpbGmapsWidget=$(".wpb_gmaps_widget");$wpbGmapsWidget.on("click",function(){$("iframe",this).css("pointer-events","auto")}),$wpbGmapsWidget.on("mouseleave",function(){$("iframe",this).css("pointer-events","none")}),$(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),perspective=4*$this.width()+"px";$this.css("perspective",perspective)})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),hoverBoxInner=$this.find(".vc-hoverbox-inner");hoverBoxInner.css("min-height",0);var frontHeight=$this.find(".vc-hoverbox-front-inner").outerHeight(),backHeight=$this.find(".vc-hoverbox-back-inner").outerHeight(),hoverBoxHeight=backHeight
\t\t\t\t\t\t
\t\t\t\t\t\t \t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t \t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
Expand \t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t
next \t\t\t\t\t\t\t\t\t\t\t
previous \t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t
Previous \t\t\t\t\t\t\t\t\t\t\t\t
0/0
\t\t\t\t\t\t\t\t\t\t\t\t
Next \t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t
{pp_social}
\t\t\t\t\t\t\t\t\t\t\t
Close \t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t \t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t \t\t\t\t\t
',gallery_markup:'
\t\t\t\t\t\t\t\t
Previous \t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
Next \t\t\t\t\t\t\t
',image_markup:'
',flash_markup:'
',quicktime_markup:'
',iframe_markup:'
',inline_markup:'
{content}
',custom_markup:"",social_tools:'